package com.lut.edu.apm.payCenter.message;

import java.util.Map;

/**
 * @author Zhao Suzhen
 * @date `2024/3/29`
 */
public interface AliMessage {
    /**
     * 发送注册短信验证码
     * @param phoneNumber
     * @return
     * @throws Exception
     */
    boolean sendLoginVerificationCode(String phoneNumber) throws Exception;

    /**
     * 验证短信验证码
     * @param phoneNumber
     * @param validateCode
     * @return
     * @throws Exception
     */
    boolean verifyVerificationCode(String phoneNumber, String validateCode) throws Exception;

    /**
     * 发送登录短信验证码
     * @param phoneNumber
     * @return
     * @throws Exception
     */
    boolean sendRegistrationVerificationCode(String phoneNumber) throws Exception;

}
